﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ClassLibrary
{
    public class PropertyMock
    {
        private int a;
        private int b;

        public int A
        {
            get { return 10 + a; }
            set { a = value; }
        }

        public int B
        {
            get { return 10 + b; }
            set { b = value; }
        }

        public int Add()
        {
            return a + b;
        }
    }
}
